package com.cqq.auth.dao.impl;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.auth.dao.UserLoginLogDao;
import com.cqq.auth.dao.domain.UserLoginLog;
import com.cqq.auth.dao.mapper.UserLoginLogMapper;
import com.cqq.common.core.base.BaseDao;
import com.cqq.common.core.base.BaseQuery;

/**
 * <h3>用户登录Dao接口实现类</h3>
 * 
 * @author xijq
 * @version 1.0.0
 * 
 */
@Repository("userLoginLogDao")
public class UserLoginLogDaoImpl extends BaseDao implements UserLoginLogDao {
	
	@Autowired
	private UserLoginLogMapper userLoginLogMapper;

	
	public void add(UserLoginLog obj) {
		userLoginLogMapper.add(obj);
	}

	
	public Integer delete(Serializable id) {
		return userLoginLogMapper.delete(id);
	}

	
	public Integer update(UserLoginLog obj) {
		return userLoginLogMapper.update(obj);
	}

	
	public UserLoginLog queryById(Serializable id) {
		return userLoginLogMapper.queryById(id);
	}

	
	public List<UserLoginLog> queryAll() {
		return userLoginLogMapper.queryAll();
	}

	
	public List<UserLoginLog> queryPage(BaseQuery query) {
		return userLoginLogMapper.queryPage(query);
	}

	
	public Integer queryCount(BaseQuery query) {
		return userLoginLogMapper.queryCount(query);
	}
}
